<?php
return array(

    'URL_HTML_SUFFIX'=>'',
    'SHOW_PAGE_TRACE' => false,
	'URL_MODEL'            => 3,
	'VIEW_PATH'	=>'./Themes/Admin/',
	 'TMPL_PARSE_STRING'=>array(   
	 '__PUBLIC__' => __ROOT__ . '/Common',
	'__RES__' => '/Themes/'.BIND_MODULE.'/Public', 
    '__IMG__'=>'./Themes/'.BIND_MODULE.'/Public/img',
    '__CSS__'=>'./Themes/'.BIND_MODULE.'/Public/css',
    '__JS__'=> './Themes/'.BIND_MODULE.'/Public/js',
    ), 
    
	'SESSION_PREFIX' => 'zsf_admin_s', //session前缀
    'COOKIE_PREFIX'  => 'zsf_admin_c', // Cookie前缀 避免冲突
    /* 后台错误页面模板 */
    'TMPL_ACTION_ERROR' => './Themes/'.BIND_MODULE . '/Public/error.html', // 默认错误跳转对应的模板文件
    'TMPL_ACTION_SUCCESS' => './Themes/'.BIND_MODULE . '/Public/success.html', // 默认成功跳转对应的模板文件
    'TMPL_EXCEPTION_FILE' => './Themes/'.BIND_MODULE . '/Public/exception.html',// 异常页面的模板文件
    'COOKIE_PATH'=>'/usr/local/nginx/html/zhaoshifu',
    'LANG_SWITCH_ON' => true,
    'LANG_AUTO_DETECT' => true, // 自动侦测语言 开启多语言功能后有效
    'LANG_LIST'        => 'zh-cn,en-us', // 允许切换的语言列表 用逗号分隔
    'VAR_LANGUAGE'     => 'l', // 默认语言切换变量

    //上传配置
    'UPLOAD_CONFIG' => array(
        'maxSize'    =>    5 * 1024 * 1024,//文件大小,
        'rootPath'   =>    './Uploads/',
        'savePath'   =>    '',
        'saveName'   =>    array('uniqid',''),
        'exts'       =>    array('jpg', 'gif', 'png', 'jpeg'),
        'autoSub'    =>    true,
        'subName'    =>    array('date','Ymd'),
        'driver'     =>    'Qiniu',
        'driverConfig' => array (
            'secrectKey' => 'Sk58rm_KJWZrr4SEft2AAHtsEbRULcxQpk_VABGn',
            'accessKey' => 'fIq-nY0Txj_7lgKkNK39R0047xaO2S0zWXGBumjN',
            'domain' => '7xrcjk.com2.z0.glb.qiniucdn.com',
            'bucket' => 'master',
        )
    ),

    'AUTH_CONFIG'=>array(
        'AUTH_ON' => true, //认证开关
        'AUTH_TYPE' => 1, // 认证方式，1为时时认证；2为登录认证。
        'AUTH_GROUP' => 'zsf_auth_group', //用户组数据表名
        'AUTH_GROUP_ACCESS' => 'zsf_auth_group_access', //用户组明细表
        'AUTH_RULE' => 'zsf_menu', //权限规则表
        'AUTH_USER' => 'zsf_admin'//用户信息表
    ),
    //上传配置
    'UPLOAD_CONFIG' => array(
        'maxSize'    =>    5 * 1024 * 1024,//文件大小,
        'rootPath'   =>    './Uploads/',
        'savePath'   =>    '',
        'saveName'   =>    array('uniqid',''),
        'exts'       =>    array('jpg', 'gif', 'png', 'jpeg'),
        'autoSub'    =>    true,
        'subName'    =>    array('date','Ymd'),
        'driver'     =>    'Qiniu',
        'driverConfig' => array (
            'secrectKey' => 'Sk58rm_KJWZrr4SEft2AAHtsEbRULcxQpk_VABGn',
            'accessKey' => 'fIq-nY0Txj_7lgKkNK39R0047xaO2S0zWXGBumjN',
            'domain' => '7xrcjk.com2.z0.glb.qiniucdn.com',
            'bucket' => 'master',
        )
    ),

);